-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Association display #1015
Association display #1015
Conversation
@RFSH This is ready for review now with the changes to chaise that are ready. We should discuss about the 2 comments I left in this PR about:
|
…seudo column and the row data
js/column.js
Outdated
/** | ||
* Given the available tuple data, generate the uniqueId for the selected row from the table this pseudo column points to | ||
* | ||
* @param {*} linkedData |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add a small description to this param that clarifies what this is. It's the key-value pair for the column values of the table that this pseudo column points to. I'm saying this because linkedData
(Tuple.linkedData and what we're passing to .filteredRef
) is not just a key-value pair of one table. It has the data for all the outbound fks.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think everything looks good and works as expected. I like the name that you used for the new context. Can you please add the new context to the "Context names" section of annotation doc.
You should also do make all
, so it generates the new api.md
and then push it.
This PR adds a
BulkCreateForeignKeyObject
object to ermrestJS that is attached to reference once thecompute
function is called to initialize the object.I left a PR comment about
prefillObject
maybe being here instead ofchaise
and another one about composite keys.Test cases added in this PR: